package com.guoguo.mapper;

import com.guoguo.entity.AcCategoryAlbum;
import com.guoguo.entity.vo.AcCategoryAlbumVO;
import com.guoguo.entity.vo.AlbumCategoryVO;
import com.guoguo.entity.vo.CategoryAlbumVO;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/8/9 0009.
 */
public interface AcCategoryAlbumMapper {

    //分类下专辑列表
    List<CategoryAlbumVO> getCategoryAlbumList(String cateId);

    //最新
    List<CategoryAlbumVO> getLatestAlbumList();

    //最热
    List<CategoryAlbumVO> getHotAlbumList();

    List<AlbumCategoryVO> getCategoryAlbum(String albId);

    int addAcCategoryAlbum(AcCategoryAlbum acCategoryAlbum);

    AcCategoryAlbum findCategoryAlbum(AcCategoryAlbum acCategoryAlbum);

    AcCategoryAlbum findCategoryAlbumById(String cateId);

    //根据专辑id查询与分类的关联
    List<AcCategoryAlbum> findCategoryAlbumByAlbId(String albId);

    //根据专辑id删除与分类的关联
    int deleteAcCategoryAlbums(String albId);

    int updateActegoryAlbum(AcCategoryAlbum acCategoryAlbum);

    List<CategoryAlbumVO> selectCategoryAlbum();

    List<AcCategoryAlbumVO> getCategoryAlbums(String albId);



    AcCategoryAlbum getCount(String cateId);
}
